package com.jintoufs.dao.tour;

import com.jintoufs.domain.tour.TourRouteDay;
import com.jintoufs.domain.tour.TourRouteDayExample;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface TourRouteDayMapper {
    int countByExample(TourRouteDayExample example);

    int deleteByExample(TourRouteDayExample example);

    int deleteByPrimaryKey(String id);

    int insert(TourRouteDay record);

    int insertSelective(TourRouteDay record);

    List<TourRouteDay> selectByExample(TourRouteDayExample example);

    TourRouteDay selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") TourRouteDay record, @Param("example") TourRouteDayExample example);

    int updateByExample(@Param("record") TourRouteDay record, @Param("example") TourRouteDayExample example);

    int updateByPrimaryKeySelective(TourRouteDay record);

    int updateByPrimaryKey(TourRouteDay record);

    List<Map<String,Object>> selectByRouteId(String id);
}